#ifndef __ASM_ARM_PROCESSOR_H
#define __ASM_ARM_PROCESSOR_H

#include <asm/memory.h>

// #define STACK_TOP	((current->personality & ADDR_LIMIT_32BIT) ? \
// 			 TASK_SIZE : TASK_SIZE_26)
#define STACK_TOP	TASK_SIZE
#define STACK_TOP_MAX	TASK_SIZE

#define ARCH_HAS_PREFETCH
static inline void prefetch(const void *ptr)
{
	__asm__ __volatile__(
		"pld\t%a0"
		:
		: "p" (ptr)
		: "cc");
}

#define ARCH_HAS_PREFETCHW
#define prefetchw(ptr)	prefetch(ptr)

#endif /* __ASM_ARM_PROCESSOR_H */
